-- GENERATED SPELL FOR [Anubisath Guardian] --


function spell0_15355(pUnit, Event) --@Summon Player,n/a--
pUnit:FullCastSpellOnTarget(20477,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15355', 545, 1)
end

function Sorts_15355(pUnit, Event)
local choix_sorts_15355 = math.random(0, 0)
if choix_sorts_15355 == 0 then
pUnit:RegisterEvent('spell0_15355', 1, 1)
end
end

function mob15355_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15355', math.random(1500, 3000), 1)
end

function mob15355_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15355_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15355_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15355, 1, 'mob15355_Action')
RegisterUnitEvent(15355, 2, 'mob15355_Leave')
RegisterUnitEvent(15355, 3, 'mob15355_Kill')
RegisterUnitEvent(15355, 4, 'mob15355_Die')
